<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var height = prompt("请输入您的身高（厘米）");
        var weight = prompt("请输入您的体重(斤)");
        var bz = (height-108)*2;
        console.log(weight);
        console.log(bz);
        if (weight<=bz+10 && weight>=bz-10){
            // alert("标准")
            console.log(1);
        }else{
            // alert("不标准")
            console.log(2);
        }
    </script>
</body>
</html>